﻿@model TravelWD.Models.LoginModel

@{
    ViewBag.Title = "Login";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Enter username and password</h2>

@using (Html.BeginForm())
{
    <table style="height: 120px; width: 700px;">
        <tr>
            <td style="width: 150px;">
                <strong>Username:</strong>
            </td>
            <td>
                @Html.TextBoxFor(model => model.Username, new { @class = "txtcls" })
                <span class="error">@Html.ValidationMessageFor(model => model.Username)</span>
            </td>
        </tr>
        <tr>
            <td>
                <strong>Password:</strong>
            </td>
            <td>
                @Html.PasswordFor(model => model.Password, new { @class = "txtcls" })
                <span class="error">@Html.ValidationMessageFor(model => model.Password)</span>
            </td>
        </tr>
        <tr>
            <td>
                <input type="submit" class="button" value="Login" />
            </td>
            <td></td>
        </tr>
    </table>
}

